import { http } from '@/common/service/service.js' 
import configService from '@/common/service/config.service.js';
const apiService = {
	 
	 /**
	  * 登录
	  */
	// login(params) {
	// 	return http.post('/sys/mLogin',params)	
		
	// },
	communitylist() {
	  return http.get("/sys/sysDepart/queryDepartTreeSync",{params:{pid:'3d40571077c34e04b747d235722bb4a5'}})
	},
	
	
	
	
	//密码加密
	getEncryptedString(params) {
	  return http.get("/sys/getEncryptedString",{params:params})
	},
	
	//API竞买人-绑定小程序
	appletbind(params) {
	  return http.post("/bidder/applet/bind",params)
	},
	//顶部广告-列表查询
	bannerlist(params) {
	  return http.get("/applet/banner/list",{params:params})
	},
	
	//小程序拍卖会类别-查询所有类别
	queryParent(params) {
	  return http.get("/applet/category/queryParent",{params:params})
	},
	//小程序拍卖会类别-查询所有类别
	auctionpage(params) {
	  return http.get("/applet/auction/page",{params:params})
	},
	//小程序拍卖会类别-查询所有类别
	auctiondetail(params) {
	  return http.get("/applet/auction/detail",{params:params})
	},
	//小程序拍卖会类别-查询所有类别
	itemlist(params) {
	  return http.get("/applet/auction/item/list",{params:params})
	},
	//小程序拍卖会类别-查询所有类别
	itemdetail(params) {
	  return http.get("/applet/auction/item/detail",{params:params})
	},
	//小程序拍卖会类别-查询所有类别
	auctioncheckApply(params) {
	  return http.get("/applet/auction/checkApply",{params:params})
	},
	//API拍卖报名-校验报名资格
	applycheckApply(params) {
	  return http.get("/auction/apply/checkApply",{params:params})
	},
	//API拍卖报名-校验报名资格
	applyadd(params) {
	  return http.post("/auction/apply/add",params)
	},
	//API拍卖报名-校验报名资格
	instructionsquery(params) {
	  return http.get("/auction/bidding/instructions/query",{params:params})
	},
	//拍卖会-查询拍卖会发言
	commentlist(params) {
	  return http.get("/applet/auction/comment/list",{params:params})
	},
	//拍卖会-查询拍卖会发言
	auctioneer(params) {
	  return http.get("/applet/auction/auctioneer",{params:params})
	},
	//拍卖会-查询拍卖会发言
	biddingList(params) {
	  return http.get("/applet/auction/bidding/List",{params:params})
	},
	//API我的关注-关注
	interestadd(params) {
	  return http.post("/bidder/interest/add",params)
	},
	//API我的关注-取消关注
	interestdelete(id) {
	  return http.delete("/bidder/interest/delete?id=" + id.id)
	},
	//API我的关注-取消关注
	interestpage(params) {
	  return http.get("/bidder/applet/interest/page",{params:params})
	},
	//API我的关注-取消关注
	updatePayTime(params) {
	  return http.put("/auction/apply/updatePayTime",params)
	},
	//API我的关注-取消关注
	biddinglog(params) {
	  return http.post("/auction/bidding/log/add",params)
	},
	//个人中心-我的竞拍
	auctionbiddinglist(params) {
	  return http.get("/auction/center/bidding/list",{params:params})
	},
	//个人中心-修改资料
	bidderedit(params) {
	  return http.put("/bidder/edit",params)
	},
	//个人中心-我的报名
	auctionlist(params) {
	  return http.get("/auction/center/apply/list",{params:params})
	},
	//API拍卖报名-小程序订单查询
	orderpage(params) {
	  return http.get("/auction/apply/order/page",{params:params})
	},
	//API拍卖报名-小程序订单详情查询
	orderdetail(params) {
	  return http.get("/auction/apply/order/detail",{params:params})
	},
	//API拍卖报名-小程序订单详情查询
	applygetQrCode(params) {
	  return http.get("/auction/apply/getQrCode",{params:params})
	},
	
	//API拍卖报名-小程序订单详情查询
	applyqueryOrder(params) {
	  return http.get("/auction/apply/queryOrder",{params:params})
	},
	//个人中心-我的保证金
	warrantylist(params) {
	  return http.get("/auction/center/warranty/list",{params:params})
	},
	//个人中心-保证金详情
	warrantydetail(params) {
	  return http.get("/auction/center/warranty/detail",{params:params})
	},
	
	
	
};

export default apiService;
